﻿using UtilZ.Dotnet.Ex.AsynWait;
using UtilZ.Dotnet.WindowsDesktopEx.Base;

namespace UtilZ.Dotnet.WindowsDesktopEx.WPF
{
    /// <summary>
    /// 遮罩控件工厂抽象类
    /// </summary>
    public class WPFShadeControlFactoryV1 : ShadeControlFactoryAbs
    {
        /// <summary>
        /// 构造函数
        /// </summary>
        public WPFShadeControlFactoryV1() :
            base()
        {
        }

        /// <summary>
        /// 创建带文本提示的遮罩控件
        /// </summary>
        /// <returns>遮罩控件</returns>
        protected override IPartAsynWait PrimitiveCreateShadeControl()
        {
            return new UCShadeControl1();
        }

        /// <summary>
        /// 创建仅动画的遮罩控件
        /// </summary>
        /// <returns>遮罩控件</returns>
        protected override IPartAsynWait PrimitiveCreateShadeAnimalControl()
        {
            return new UCShadeControl1Animal();
        }
    }
}
